#ifndef PARASETTINGDB_H
#define PARASETTINGDB_H

#include <QObject>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QVariant>

class Model
{
public:
    QString strTime;
    QString strTimeUnit;
    bool bShuffle;
    bool bStart;
    bool bAuto;
};

class ParaSettingDB : public QObject
{
    Q_OBJECT
public:
    explicit ParaSettingDB(QObject *parent = 0);
    Model* getModel();

signals:

public slots:
    void updateModel();

protected:
    void Init();

private:
    Model m_Model;
};

#endif // PARASETTINGDB_H
